<div class="custom">
  <div nz-row>
    <div nz-col [nzSpan]="8">
      <div nz-col [nzXs]="24" [nzSm]="8">
        <label>表名</label>
      </div>
      <div nz-col [nzXs]="24" [nzSm]="16" class="msg">
        <nz-input [(ngModel)]="sqlBean.tableName"></nz-input>
      </div>
    </div>
  </div>

  <div nz-row>
    <div nz-col [nzSpan]="8">
      <div nz-col [nzXs]="24" [nzSm]="8">
        <label>自定义SQL</label>
      </div>
      <div nz-col [nzXs]="24" [nzSm]="16" class="msg">
        <textarea row="4" nz-input [(ngModel)]="sqlBean.sql"></textarea>
      </div>
    </div>
  </div>

  <div nz-row>
    <div nz-col [nzSpan]="8">
      <button nz-button nzType="primary" (click)="connect()" [disabled]="dis">连&nbsp;接</button>
    </div>
  </div>

</div>